﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addWorkOrderInfo.aspx.cs"
    Inherits="WorkOrder.addWorkOrderInfo" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/left.css" type="text/css" rel="STYLESHEET" />
    <link href="../css/site2.css" type="text/css" rel="STYLESHEET" />
    <link rel="stylesheet" type="text/css" href="../css/subModal.css" />
    <script language="javascript" type="text/javascript">        //加在head中，PNG无灰色背景
        var tmp = window.navigator.userAgent.toLowerCase().indexOf("MSIE");
        //加在head中，PNG无灰色背景
        function correctPNG() {
            for (var i = 0; i < document.images.length; i++) {
                var img = document.images[i];
                var imgName = img.src.toUpperCase();
                if (imgName.substring(imgName.length - 3, imgName.length) == "PNG") {
                    var imgID = (img.id) ? "id='" + img.id + "' " : "";
                    var imgClass = (img.className) ? "class='" + img.className + "' " : "";
                    var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
                    var imgStyle = "display:inline-block;" + img.style.cssText;
                    if (img.align == "left") imgStyle = "float:left;" + imgStyle;
                    if (img.align == "right") imgStyle = "float:right;" + imgStyle;
                    if (tmp >= 1) {
                        if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    else {
                        if (img.parentNode.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
       + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>";
                    img.outerHTML = strNewHTML;

                }
            }
        }

        if (window.addEventListener) {
            window.addEventListener('DOMContentLoaded', correctPNG, false);   //firefox
            window.addEventListener('load', correctPNG, false);
        } else if (window.attachEvent) {
            window.attachEvent('onload', correctPNG);  //IE
        }
    </script>
    <script type="text/javascript" src="../js/common.js" defer="defer"></script>
    <script type="text/javascript" src="../js/subModal.js" defer="defer"></script>
    <script type="text/javascript" src="../js/cookie.js" defer="defer"></script>
    <script type="text/javascript" src="../DatePicker/WdatePicker.js" defer="defer"></script>
    <style type="text/css">
        .style6
        {
            height: 24px;
            width: 80px;
        }
        .style7
        {
            width: 230px;
        }
        .style8
        {
            height: 24px;
        }
        #tab1
        {
            border-collapse: collapse;
        }
        #tab1 td
        {
            border: #9fd6ff 1px solid;
        }
    </style>
    <script type="text/javascript">
        String.prototype.trim = function () {
            // 用正则表达式将前后空格，用空字符串替代。
            return this.replace(/(^\s*)|(\s*$)/g, "");
        }

        function saveValidate() {
            //form1.action = "addWorkOrder.aspx?a=0";
            var orderNoFormat = /^[A-Z][A-Z][A-Z][A-Z]\-[A-Z][A-Z]\-[A-Z][A-Z][A-Z][A-Z]\-2[0-9][0-9][0-9][0-9][0-9][0-9][0-9]\-[0-9][0-9][0-9][0-9][0-9]$/
            if (document.getElementById("txtOrderNo").value.trim() == "")
            { alert("请输入工单号！"); return false; }
            else if (!orderNoFormat.exec(document.getElementById("txtOrderNo").value.trim())) {
                alert("您输入的工单号格式错误！"); return false;
            }
            if (document.getElementById("seleOrderType").value == "0")
            { alert("请选择业务类型！"); return false; }
            if (document.getElementById("txtGroupcode").value.trim() == "")
            { alert("请输入集团编码！"); return false; }
            if (document.getElementById("ddlProduct").value == "0")
            { alert("请选择产品类型！"); return false; }
            if (document.getElementById("seleArea").value == "0")
            { alert("请选择区域！"); return false; }
            if (document.getElementById("seleTown").value == "0" && document.getElementById("seleArea").value != "7")
            { alert("请选择镇区！"); return false; }
            else { document.getElementById("hidTown").value = document.getElementById("seleTown").value; }
            if (document.getElementById("seleAccess").value.trim() == "0")
            { alert("请选择接入模式！"); return false; }
            if (document.getElementById("txtCustomerCode").value.trim() == "")
            { alert("请输入用户编码！"); return false; }
            document.getElementById("hidID").value = "";
            return true;
        }

        function setOrderType() {
            if (document.getElementById("txtOrderNo").value.trim() != "") {
                var tmpstr = document.getElementById("txtOrderNo").value.trim().substr(8, 4);
                setCreateTime();
                if (tmpstr == "YWKT") {
                    for (var i = 0; i < document.getElementById("seleOrderType").options.length; i++) {
                        if (document.getElementById("seleOrderType").options.item(i).text == "开通") {
                            document.getElementById("seleOrderType").selectedIndex = i;
                        }
                    }
                }
                else if (tmpstr == "YWTZ") {
                    for (var i = 0; i < document.getElementById("seleOrderType").options.length; i++) {
                        if (document.getElementById("seleOrderType").options.item(i).text == "调整") {
                            document.getElementById("seleOrderType").selectedIndex = i;
                        }
                    }
                }
                else if (tmpstr == "YWQX") {
                    for (var i = 0; i < document.getElementById("seleOrderType").options.length; i++) {
                        if (document.getElementById("seleOrderType").options.item(i).text == "取消") {
                            document.getElementById("seleOrderType").selectedIndex = i;
                        }
                    }
                }
            }
        }


        var arrZhongqu = new Array(); //2
        arrZhongqu[0] = new Array('大岭山', '6');
        arrZhongqu[1] = new Array('大朗', '7');
        arrZhongqu[2] = new Array('黄江', '8');
        arrZhongqu[3] = new Array('常平', '9');
        arrZhongqu[4] = new Array('东坑', '28');

        var arrChengqu = new Array(); //1
        arrChengqu[0] = new Array('万江', '1');
        arrChengqu[1] = new Array('南城', '2');
        arrChengqu[2] = new Array('东城', '3');
        arrChengqu[3] = new Array('莞城', '4');
        arrChengqu[4] = new Array('松山湖', '5');

        var arrDongqu = new Array(); //3
        arrDongqu[0] = new Array('凤岗', '10');
        arrDongqu[1] = new Array('塘厦', '11');
        arrDongqu[2] = new Array('清溪', '12');
        arrDongqu[3] = new Array('谢岗', '13');
        arrDongqu[4] = new Array('樟木头', '14');
        arrDongqu[5] = new Array('桥头', '31');

        var arrNanqu = new Array(); //4
        arrNanqu[0] = new Array('虎门', '15');
        arrNanqu[1] = new Array('长安', '16');
        arrNanqu[2] = new Array('沙田', '23');

        var arrXiqu = new Array(); //5
        arrXiqu[0] = new Array('中堂', '17');
        arrXiqu[1] = new Array('望牛墩', '18');
        arrXiqu[2] = new Array('麻涌', '19');
        arrXiqu[3] = new Array('高埗', '20');
        arrXiqu[4] = new Array('道滘', '21');
        arrXiqu[5] = new Array('洪梅', '22');
        arrXiqu[6] = new Array('厚街', '24');

        var arrBeiqu = new Array(); //6
        arrBeiqu[0] = new Array('石碣', '25');
        arrBeiqu[1] = new Array('石龙', '26');
        arrBeiqu[2] = new Array('石排', '27');
        arrBeiqu[3] = new Array('寮步', '29');
        arrBeiqu[4] = new Array('横沥', '30');
        arrBeiqu[5] = new Array('茶山', '32');
        arrBeiqu[6] = new Array('企石', '33');

        function resetSelectByArray(sValue) {
            var selectValue = sValue;
            var Obj = document.getElementById("seleTown");
            var arrLen = 0;
            var i = 0;
            var optText;
            var optValue;
            if (selectValue == "1") {
                arrLen = arrChengqu.length;
                Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                for (i = 0; i < arrLen; i++) {
                    optText = arrChengqu[i][0];
                    optValue = arrChengqu[i][1];
                    Obj.options.add(new Option(optText, optValue));
                }
            }
            else if (selectValue == "2") {
                arrLen = arrZhongqu.length; Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                for (i = 0; i < arrLen; i++) {
                    optText = arrZhongqu[i][0];
                    optValue = arrZhongqu[i][1];
                    Obj.options.add(new Option(optText, optValue));
                }
            }
            else if (selectValue == "3") {
                arrLen = arrDongqu.length; Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                for (i = 0; i < arrLen; i++) {
                    optText = arrDongqu[i][0];
                    optValue = arrDongqu[i][1];
                    Obj.options.add(new Option(optText, optValue));
                }
            }
            else if (selectValue == "4") {
                arrLen = arrNanqu.length; Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                for (i = 0; i < arrLen; i++) {
                    optText = arrNanqu[i][0];
                    optValue = arrNanqu[i][1];
                    Obj.options.add(new Option(optText, optValue));
                }
            }
            else if (selectValue == "5") {
                arrLen = arrXiqu.length; Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                for (i = 0; i < arrLen; i++) {
                    optText = arrXiqu[i][0];
                    optValue = arrXiqu[i][1];
                    Obj.options.add(new Option(optText, optValue));
                }
            }
            else if (selectValue == "6") {
                arrLen = arrBeiqu.length; Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                for (i = 0; i < arrLen; i++) {
                    optText = arrBeiqu[i][0];
                    optValue = arrBeiqu[i][1];
                    Obj.options.add(new Option(optText, optValue));
                }
            }
            else if (selectValue == "7") {
                Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                Obj.options.add(new Option('集客', '34'));
            }
            else if (selectValue == "8") {
                Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
                Obj.options.add(new Option('内部客户', '35'));
            }
            else {
                Obj.options.length = 0;
                Obj.options.add(new Option('-- 请选择 --', '0'));
            }

        }

        function ShowAdd() {
            if (document.getElementById("divAdd").style.display == "block")
                document.getElementById("divAdd").style.display = "none";
            else if (document.getElementById("divAdd").style.display == "none")
                document.getElementById("divAdd").style.display = "block";
        }

        function ShowInfo() {
            document.getElementById("divAdd").style.display = "none";
            document.getElementById("divInfo").style.display = "block";
            document.getElementById("div1").style.display = "block";
            document.getElementById("div3").style.display = "block";
        }

        function ShowDiv1() {
            if (document.getElementById("div1").style.display == "none")
                document.getElementById("div1").style.display = "block";
            else if (document.getElementById("div1").style.display == "block")
                document.getElementById("div1").style.display = "none";
        }

        function ShowDiv3() {
            if (document.getElementById("div3").style.display == "none")
                document.getElementById("div3").style.display = "block";
            else if (document.getElementById("div3").style.display == "block")
                document.getElementById("div3").style.display = "none";
        }
        function ShowLoad() {
            if (document.getElementById("hidID").value != "")
                ShowInfo();
        }
        function ShowPopup(alable, tmp) {
            var id = document.getElementById("hidID").value;
            if (id != "") {
                if (tmp == 1) showPopWin("修改工单信息", "addWorkOrder.aspx?a=1&id=" + id, 850, 398, null, true, false);
                else if (tmp == 3) showPopWin("新增工单问题", "addException.aspx?a=0&id=" + id, 450, 200, null, true, false);

            }
        }
    </script>
</head>
<body style="margin: 0 0 0 0; background-color: #fff; border-left: solid 1px #54a6e2;"
    onload="ShowLoad()">
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ImageButton1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" UpdatePanelHeight="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <input type="hidden" id="hidID" runat="server" />
    <div>
        <table style="width: 100%">
            <tr>
                <td>
                    <div style="border: solid 1px #9fd6ff; background-image: url('../images/snap3.jpg');
                        height: 24px; color: #0930a5; cursor: pointer;" onclick="ShowAdd();">
                        <table style="height: 24px;">
                            <tr>
                                <td>
                                    &nbsp;&nbsp;<img align="absmiddle" src="../images/doc3.gif" />&nbsp;&nbsp;工单录入
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="divAdd" style="border: solid 1px #9fd6ff; background-color: #f0f8ff; display: block;">
                        <table style="width: 100%">
                            <tr>
                                <td style="width: 10px;">
                                </td>
                                <td>
                                    <table id="tab2" border="0" style="width: 730px">
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                工单号：
                                            </td>
                                            <td align="left" style="width: 320px;">
                                                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                                                    <input id="txtOrderNo" type="text" runat="server" class="TextBox" onblur="setOrderType()"
                                                        style="width: 195px" />&nbsp;<asp:ImageButton ID="ImageButton1" runat="server" Height="20px"
                                                            ImageUrl="../images/find.gif" OnClick="ImageButton1_Click" Width="20px" />&nbsp;<asp:Label
                                                                ID="Label1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
                                                </telerik:RadAjaxPanel>
                                            </td>
                                            <td align="left" style="width: 85px">
                                                集团编码：
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtGroupcode" runat="server" CssClass="TextBox" Width="190px" MaxLength="40"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                产品业务类型：
                                            </td>
                                            <td align="left">
                                                <asp:DropDownList ID="ddlProduct" runat="server" CssClass="TextBox" Width="100px">
                                                </asp:DropDownList>
                                                <select id="seleOrderType" runat="server" style="width: 100px;" class="TextBox" name="D1">
                                                    <option value="0">-- 请选择 --</option>
                                                    <option value="1">开通</option>
                                                    <option value="2">取消</option>
                                                    <option value="3">调整</option>
                                                </select>
                                            </td>
                                            <td align="left">
                                                镇区：
                                            </td>
                                            <td align="left">
                                                <select id="seleArea" runat="server" style="width: 98px;" class="TextBox">
                                                    <option value="0" selected="selected">-- 请选择 --</option>
                                                    <option value="1">城区</option>
                                                    <option value="2">中区</option>
                                                    <option value="3">东区</option>
                                                    <option value="4">南区</option>
                                                    <option value="5">西区</option>
                                                    <option value="6">北区</option>
                                                    <option value="7">集客</option>
                                                    <option value="8">内部客户</option>
                                                </select><select id="seleTown" runat="server" style="width: 97px;" class="TextBox"
                                                    name="seleTown">
                                                </select>
                                                <input type="hidden" id="hidTown" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                接入方式：
                                            </td>
                                            <td align="left">
                                                <select id="seleAccess" name="seleAccess" runat="server" style="width: 200px;" class="TextBox">
                                                    <option value="0">-- 请选择 --</option>
                                                    <option value="传统方式接入">传统方式接入</option>
                                                    <option value="GPON接入">GPON接入</option>
                                                    <option value="无线接入">无线接入</option>
                                                </select>
                                            </td>
                                            <td align="left">
                                                用户编码：
                                            </td>
                                            <td align="left">
                                                <asp:TextBox ID="txtCustomerCode" runat="server" CssClass="TextBox" Width="190px"
                                                    MaxLength="40"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                所属聚类客户：</td>
                                            <td align="left">
                                                <input id="txtClustering_client" runat="server" class="TextBox" 
                                                    style="width: 195px" type="text" /></td>
                                            <td align="left">
                                                &nbsp;</td>
                                            <td align="left">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                工单内容：
                                            </td>
                                            <td align="left" colspan="3" class="style6">
                                                <asp:TextBox ID="txtOrderContent" runat="server" CssClass="TextBox" Width="602px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                备注：
                                            </td>
                                            <td align="left" colspan="3">
                                                <asp:TextBox ID="txtRemark" runat="server" CssClass="TextBox" Width="602px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                &nbsp;
                                            </td>
                                            <td align="left">
                                                &nbsp;
                                            </td>
                                            <td align="left">
                                                &nbsp;
                                            </td>
                                            <td align="left">
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                &nbsp;
                                            </td>
                                            <td align="left">
                                                <asp:Button ID="Button1" runat="server" CssClass="Button" Text="&nbsp;保&nbsp;&nbsp;&nbsp;&nbsp;存&nbsp;"
                                                    OnClick="Button1_Click" OnClientClick="return saveValidate();" />
                                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="Reset1" type="reset" value="&nbsp;重&nbsp;&nbsp;&nbsp;&nbsp;置&nbsp;"
                                                    class="Button" />
                                            </td>
                                            <td align="left" colspan="2">
                                                <asp:Label ID="lblMsg" runat="server" Font-Size="12px"></asp:Label>
                                                <input type="hidden" id="hidCreateTime" runat="server" value="" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 85px; height: 24px;" align="left">
                                                &nbsp;
                                            </td>
                                            <td align="left">
                                                &nbsp;
                                            </td>
                                            <td align="left">
                                            </td>
                                            <td align="left">
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="divInfo" style="display: block;">
                        <div style="border: solid 1px #9fd6ff; background-color: #d4f1f9;">
                            <table style="width: 100%; cursor: pointer;" onclick="ShowDiv1();">
                                <tr>
                                    <td style="height: 20px;">
                                        &nbsp;&nbsp;<img alt="" align="absmiddle" src="../images/181.gif" />&nbsp; 工单详细信息
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div id="div1" style="border: solid 1px #9fd6ff; border-top: none; background-color: #f0f8ff;
                            display: none;">
                            <table style="width: 730px">
                                <tr>
                                    <td style="width: 10px;">
                                    </td>
                                    <td>
                                        <table border="0" style="width: 100%; font-family: Arial;">
                                            <tr>
                                                <td class="style8" colspan="4">
                                                    <img align="absmiddle" src="../images/drop-add.gif" /><a href="#" id="A3" onclick="ShowPopup(this,1);"><span
                                                        style="border: 1px; border-bottom: solid 1px #008000">修改工单信息</span></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <img align="absmiddle" src="../images/Flag.gif" /><asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">刷新</asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                        <table id="tab1" style="width: 100%; font-family: Arial;">
                                            <tr style="background-color: #e4e6ed">
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    工单号：
                                                </td>
                                                <td align="left" class="style7">
                                                    <asp:Label ID="lblOrderNo" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left" style="width: 125px">
                                                    集团编码：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblGroupCode" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width: 105px; height: 24px;" align="left">
                                                    用户编码：
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblCustomerCode" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td>
                                                    所属聚类客户：
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblClustering_client" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr style="background-color: #e4e6ed">
                                                <td style="height: 24px;" align="left">
                                                    工单主题：
                                                </td>
                                                <td align="left" colspan="3">
                                                    <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="height: 24px;" align="left">
                                                    业务类型：
                                                </td>
                                                <td align="left" class="style7">
                                                    <asp:Label ID="lblProduct" runat="server" Text=""></asp:Label>&nbsp;&nbsp;
                                                    <asp:Label ID="lblOrderType" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left">
                                                    区域：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblArea" runat="server" Text=""></asp:Label>&nbsp;&nbsp;
                                                    <asp:Label ID="lblTown" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr style="background-color: #e4e6ed">
                                                <td style="height: 24px;" align="left">
                                                    工单内容：
                                                </td>
                                                <td align="left" colspan="3">
                                                    <asp:Label ID="lblModify_content" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="height: 24px;" align="left">
                                                    备注：
                                                </td>
                                                <td align="left" colspan="3">
                                                    <asp:Label ID="lblRemark" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr style="background-color: #e4e6ed">
                                                <td style="height: 24px">
                                                    接入方式：
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblAccessMode" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td>
                                                    派单时间：
                                                </td>
                                                <td>
                                                    <asp:Label ID="lblPtime" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="height: 24px;" align="left">
                                                    签收人：
                                                </td>
                                                <td align="left" class="style7">
                                                    <asp:Label ID="lblCreator" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left">
                                                    签收时间：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblCreateTime" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr style="background-color: #e4e6ed">
                                                <td style="height: 24px;" align="left">
                                                    需求分析和资源预占：
                                                </td>
                                                <td align="left" class="style7">
                                                    <asp:Label ID="lblAnalysis_time" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left">
                                                    CRM资源预占确认：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblConfirm_time" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="height: 24px;" align="left">
                                                    审核方案：
                                                </td>
                                                <td align="left" class="style7">
                                                    <asp:Label ID="lblAudit_time" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left">
                                                    数据和资源配置：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblConfig_time" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr style="background-color: #e4e6ed">
                                                <td style="height: 24px;" align="left">
                                                    完成时间（实施业务测试）：
                                                </td>
                                                <td align="left" class="style7">
                                                    <asp:Label ID="lblFinishTime" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left">
                                                </td>
                                                <td align="left">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" style="height: 24px;">
                                                    是否退单：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblIsBack" runat="server" Text=""></asp:Label>
                                                </td>
                                                <td align="left">
                                                    退单原因：
                                                </td>
                                                <td align="left">
                                                    <asp:Label ID="lblReasonType" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                            <tr style="background-color: #e4e6ed">
                                                <td align="left" style="height: 24px;">
                                                    退单描述：
                                                </td>
                                                <td align="left" colspan="3">
                                                    <asp:Label ID="lblReasonComment" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                            <br />
                        </div>
                        <script type="text/javascript">
                            document.getElementById("gv").style.width = document.documentElement.clientWidth - 50;
                            function btnSave_onclick() {

                            }

                        </script>
                        <div style="border: solid 1px #9fd6ff; background-color: #d4f1f9; border-bottom: none;">
                            <table style="width: 100%; cursor: pointer;" onclick="ShowDiv3();">
                                <tr>
                                    <td style="height: 20px;">
                                        &nbsp;&nbsp;<img alt="" align="absmiddle" src="../images/181.gif" />&nbsp; 工单存在的问题
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div id="div3" style="border: solid 1px #9fd6ff; background-color: #f0f8ff; display: none;">
                            <table width="100%">
                                <tr>
                                    <td style="width: 10px;">
                                    </td>
                                    <td>
                                        <div id="Div3" style="border: solid 0px #9fd6ff; overflow: auto; width: 100%">
                                            <br />
                                            <img align="absmiddle" src="../images/drop-add.gif" /><a href="#" id="A1" onclick="ShowPopup(this,3);"><span
                                                style="border: 1px; border-bottom: solid 1px #008000">新增工单问题</span></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <img align="absmiddle" src="../images/Flag.gif" /><asp:LinkButton ID="LinkButton2" runat="server"
                                                    OnClick="LinkButton1_Click">刷新</asp:LinkButton>
                                            <br />
                                            <br />
                                            <asp:DataList ID="DataList1" runat="server" Width="710px">
                                                <ItemTemplate>
                                                    <div style="border: solid 1px #9fd6ff; border-bottom: none; background-color: #e4e6ed;
                                                        font-family: Arial">
                                                        <table width="100%">
                                                            <tr>
                                                                <td>
                                                                    问题类型：<%#Eval("exception_type")%>
                                                                </td>
                                                                <td style="width: 100px;">
                                                                    创建人：<%#Eval("remark")%>
                                                                </td>
                                                                <td style="width: 180px;">
                                                                    创建时间：<%#Eval("create_time")%>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                    <div style="border: solid 1px #9fd6ff; font-family: Arial">
                                                        <table width="100%">
                                                            <tr>
                                                                <td>
                                                                    <%#Eval("exception").ToString().Replace(" ", "&nbsp;").Replace("\r\n", "<br />")%>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:DataList>
                                            <br />
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <br />
                    <br />
                    <br />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
